<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>11_节点操作-父元素节点</title>
    </head>
    <body>
        <div>
            <div id="inner">
                lisi
            </div>
        </div>

        <script>
            var inner = document.getElementById('inner');

            console.log(inner.parentElement);
        </script>
    </body>
</html>